package com.wrs.examsystem.service;

import com.wrs.examsystem.entity.Result.R;
import com.wrs.examsystem.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王荣升
 * @since 2024-05-15
 */
public interface StudentService extends IService<Student> {
    public Integer findTotalMark(String studentNumber,Integer testId);

    @Transactional(rollbackFor = Exception.class)
    public R deleteByStudentNumber(String studentNumber);

    public Boolean findStudentByStudentNumber(String studentNumber);

    public R checkUser(Student checkStudent);
}
